imcontextxim: Move initialisation into _init function
authorTimm Bäder <mail@baedert.org>
Sun, 4 Mar 2018 18:55:54 +0000 (19:55 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 4 Mar 2018 18:55:54 +0000 (19:55 +0100)
commit31a0739bf39322dca8b22930640b23459c02e91f
treeefeba6ec8b5ea921558e539b8c98c24bea81fc89
parentaa175ec2f55520e9db3a00418dd4b302e47285fb
imcontextxim: Move initialisation into _init function

We are creating these using g_object_new, so the _new function is never
called, resulting in a NULL mb_charset. Fix this by moving the
initialisation into the _init function.
gtk/gtkimcontextxim.c
gtk/gtkimcontextxim.h